package design.strategy;

/**
 * 主程序
 *
 * @author wei.yang on 2018/8/31
 */
public class Main {

    public static void main(String[] args) {
        Context context = new Context(new ChildStrategy());
        context.execute("33");

        Context context1 = new Context(new ParentStrategy());
        context1.execute("23");
    }
}
